Fixed issue with end time not being calculated properly if the end time was noon.