Fixed IPR table lookup by removing PKEY constraints and adding conditionals, after row found (by accession_id) to limit to unexpired PVPs