For drush commands, clear tickets_generated cache after deleting all.