JAL-2665 Selecting on wrapped alignments