PIM-3320: fix pqb and mongo filters