Add filter for pqm and master.