[GEOT-4267] Some filter functions do not cast arguments to numeric types