drilling down for filtering, blargh -LG
Fixed filters so now displayed filters actually filter and removing from them from the UI removes them from the session as well.
Adding test for the database module.