EDOC-1516: fix error with unfiled document rename to return back to previously reproduced error