Corrected an issue where times would not be calculated past 12PM correctly