Refactored repetition of filters away.