Fixed wrong assert in opIndex and opIndexAssign