Issue #1263214 by drunken monkey: Fixed indexing with „Index items immediately“ indexes old entity state.