Add filters to add/edit discount pages

Fixes #2391