Fixed Peer's query with filter.