Bugfix in filter