fixed `filterProperties` method