I finally got the fetch p2p results query fixed