Working filtering

Adds the working filtering logic for all of the menus added. All the filtering should work now except the filtering on the PRM reports page, which will be coming later because it requires model changes.

All tests pass.