[#818] Fix filtered classes condition