Added IF EXISTS to database drop in deleting ngram tables.