Added a filter active check