Fixing GetElementPtrInst bug