Fixed a bug in words_getNextUnfinishedFrequency not checking the status of the words