Ticket #2835: Fixed duplicate entities in panel with 'tree view' mode