Bugfix for directory rename to different parent.