Fixed comparison function in DateTime