Refactored router manager filter.