Here I found this little bit on another forum.
Unlike a magnesium deficiency, nitrogen def will start from the tips and work its way back to the leaf node. Nitrogen and Magnesium get confused. The best way to tell them apart is, nitrogen deficiency starts around the tips and works its way to the back of the leaves, where a magnesium deficiency will cover the entire outer part of the leave and make the entire leaves yellow leaving the veins to stay green. If your plants are having a slow growth rate and have yellowing of the leaves, then most likely it’s a nitrogen deficiency.
Towards the middle to end of flowering stages, the plant will show a nitrogen deficiency almost always. This process is completelynormal and just let the plant naturally yellow out as it uses it's stored nutrients. This actually helps you by getting ready for final flushing and then harvesting. At this point DO NOT not use nitrogen to fix the problem. The yellowing leaves will then eventually drop off after the plant is done with them.
Parts affected by a nitrogen deficiency are: Older foliage, going to whole plant, Petioles (rare) cases.