Fixes hack for beginning of month/end of month.