adding filter to peer and dda query