Fix bug in UI for delete command execution