CMS-3972 ContentPanelView not refreshed when content deleted after a fil...

...tering

Added deletion of the elements from the tree.