Can't change a folder's owner without changing it's name as well

This is fixing a regression bug caused by my previous fix to issue #295

Steps to reproduce:
1. create a folder
2. change the folder's owner and save

Expected:
all goes well

Actual:
validation error stating that a folder with that name already exists