Fix timestamp comparator return value