Fixed a bug where renaming would not apply

In rare cases RenEx cannot determine whether a rename is already applied
or not. In that case it does not rename the file. The bug has been
fixed.