Fix wrong month check