Revert "Fixed the FilterItems class"

This reverts commit 9f72d3cbf01b48d381c183f00239ef6f9f0a356c.