fix missing non-negative-number type in rule for some filter functions