Fixed if else in modMonth that didn't have a return value for all cases