Handling edge case where DateTime.Date causes NaN ticks.