Fix for pairwise alignments