Fix for end time with non 00:00:00.000 value.