Fixed a bug with read pairs of different lengths