PAHMA-811: Fixed accession and alt num queries