PIM-3531: add a getFilter method for the query filter registry