added deactivation filtering for recommendations