[BUGFIX beta] Update contentIndex correctly.