Better detection of phrases added to word lists

We've discovered and fixed an issue where phrases added to word-lists would not be detected properly.

For example adding "go to hell" would not have been detected correctly before now.