(HEVC/Research) Fix isRef computation.