fixes bug causing failure with single end reads
Merge remote-tracking branch 'github/master'