Fix read refcount bug; paired SAM reader now works with read matching