If you think the nitrates are coming from the substrate then anything you do to remove it will likely be less stressful on the fish than 40ppm of NO3. If at all possible, you should try to find some "live" sand - something that has been in an existing system for some time. But, my thought is that even dry sand would be preferred to the crushed coral IF that is where you are getting nitrates.