This needs to combine the `instanceof Date` and the equality check on line 89 into a single conditional so that it doesn't skip the next conditional stanza (line 96) if the Dates don't equal each other.