Removed ghost panels when removing profile.
TODO: fix for selecting disabled when the removed panel is not the last