I probably wouldn't care if it did get exposed to moisture. I'm only using stock solutions to mix with anyway. If either the bag of A or B turned into a solid brick, I would only be chiseling a chunk off the block a few times a year to make stock batches.
I just measure my mixtures out by EC\PPM as I mix, instead of by dry weight or liquid volume. Parts A first of course (then Epsoms) until I hit the right EC ( i got the ratio's worked out), then simply top it off the rest of the way to the target EC with par B calnit. You can find the right EC ratio's by mixing the reccomended amount of the parts separately, each into a gallon of water. Then check the EC of each one without mixing them, and there you go.
I don't even really measure out the dry nutes when making stock solutions either.. I just add so many scoops that I have determined is "about a pound" to Part A jug and "about a half pound" to part B jug.
You never know when some ratio could be off when mixing nutes, due to so many variables, including losing track and accidentally under/over dosing, or even using a different water source, or recent moisture in the nutes throwing it off. Especially when mixing multiple different solutions for different stages of growth, and other garden plants at the same time, and juggling the nutes around. You could say I'm just lazy and making excuses, but..
You end up checking with your meter anyway if your doing it right, so might as well use it a few extra times from the get go, and can make damned sure your on point as you mix it up, IMO.