Hermi's occur, like noodlz62 said, when a plant is stressed by the growing conditions as a way to ensure survival. Check your grow conditions like soil acidity and lighting.

I grew over 30 plants from 4 different strains from Nirvana and never had a single hermi.