Fix the word_scores creation query