Fix logic in Callable filter