Correct bug of infinite loop when modified/deleted object was in version 1