Added filterNot implementation