Device::visitAllObjectsInProcessOrder did not acccount for visiting an object twice: fixed.