Fixed an issue where the days in the month would not reset properly due to failing to get the correct number of days in the month.
#MBL-10801