Don't break after hiding the delete button for plugins

Ticket: #3595