UML-320: Fix errors on add existing elements tool