tools/smaz: add support for not adding worst word to pending list