Fixed daysDifferenceConsiderMidnight logic bug