Fixed bad logic for ref/simd path.