Fix infinite recursion on empty synset in wordnet utils.