fixes handling item rename when new name had no item associated with it