Updates for first rev of Kirk's PV DB and to correct getting only distinct patent IDs into QueryResults