Added deleteType option to index console command.