GEOS-5968: Jdbcconfig FilterToCatalogSQL breaks on 'unusual' filters