Fix statement in filter