Fix for '999 milliseconds for range's seconds date'