Fix for the case when an unmapped paired read is given the genomic positionof the mate. I added a filter to only consider reads flaged as mapped.