Fixed bug where mileage calculator used the first value of the month