Make the ports queries all happen in a single DB hit and unwind everything as best as we can