Fixed the hack/delete_commands.