I already tried that too. In that case, the error changes to `org.postgresql.util.PSQLException: ERROR: COALESCE types timestamp without time zone and interval cannot be matched`.
I listed all the operators available for dates, and `+` and `-` take a date and an integer to return a date with one day added. So the query is correct.