Fix isEqualToDateIgnoringTime returns false of previous era