Prevent moveToNextCell throwing exception when model is shared (#507)