Ensure correct days of the months are used. #1003