Issue 17: Handle error when moving node