calcium and magnesium are two unique things. if you have a problem with each, it is purely coincidental as they are not tied to each other like that.
Could be a magnesium deficiency, but also likely need some more N too.
A more balanced formual might work for all the plants, so don't assume it is the plant's fault. Rarely you do run into a plant with a big enough nutritional need from others that a 2nd formula is necessary. If it happens often, it's the fault of the formula, though. It should be rare with a good formula.