While using Firestore APIS, the date comparison doesn't work when we pass `Date` objects from YAML because Firestore expects `Timestamp`.