I adjusted the unit-tests so that they work with these changes and also when running a single file on F23 where for some reasons pagure.ui.filters wasn't using the proper DB session. So I fixed them all while at it.
pagure.ui.filters
Let's merge :)