Bugfix a relation was selected at any mode when a deletion of a entity with a relation has been reverted.
1. Do not select any element after the reversion of deletion it.