correcting check for paired reads