Fix completion when deleting command