Fix a bug in alignment of pair end data.