fixes entry insert when index is reverted at the same time