PAHMA-811: repairs to queries to get accessions values and altnum
PAHMA-811: Tweaked queries