If this is a nutrient deficiency, chances are it's NOT a magnesium deficiency. Why? The symptoms are showing at the top of the plant. Plants use mobile and immobile nutrients. Magnesium is a mobile nutrient meaning, if there is a deficiency, the plant will move that nutrient to new growth and old growth will be deprived of the nutrient. In other words, magnesium deficiency will begin to show at the lower part of the plant. If this is a deficiency, check the following immobile nutrients: Calcium (Ca), Sulphur (S), Boron (B), Copper (Cu), Iron (Fe), Manganese (Mg), Zinc (Zn). Since these nutrients are immobile, deficiencies appear at the top (newer growth). This could be a lighting problem. Is your light too close to the plant? Obviously, you are in flowering stage. If you are NOT running CO2 keep your light intensity at the canopy around 925 ppfd which would give the plant a DLI (daily light integral) of 40 based on a 12/12 light cycle. Peace!