we were incorrectly trying to find the reference position of a base on the read that didn't exist. Added integration test to cover this case.