Fix a bug in alignment of pair end data.

Fix a bug in alignment of pair end data.