[GEOT-3949] SQL filters inconsistent with Java for null values