Filter persisted queries by state