Fix month range problem