filtering bugfixes