Make sure return type is boolean when returning false from a filter.