Refactored by renaming compareIncludingTime to be more descriptive