fix the bug in removeValueFromIdx in HybridIndex