peer: fix filtering out of scrub from pg state
(cherry picked from commit 19f427319000d7bcf02c07fa018143b911305a30)