Changed the solar flare script to be robust to missing months' data.