Exactly what Mag/Cal supplements are you taking and how much?
The research you posted indicates that magnesium interferes with the inhibition of Candida by Calcium. So perhaps it would be better to take calcium by itself if one seeks to control Candida, or prevent it going fungal.
I could do with better sleep, so I am interested in what you're taking.