fixed glitch that cause wrong total hours to be displayed for shifts ending at midnight on december 31st