Fixes typecasting prohibiting hours per month to assign properly