Fixed an issue in previous script that resulting in some reads being double-counted