Apparently a previous fix for an exception caused by an empty word
suggestion list didn't cover the case where the anonymity level is 100%
when the document is first processed, which can happen quite often when
using certain classifiers. While debugging this, I also noticed that the
loop that iterates through the suggestions skipped a word every time it
removed one, so the loop has been rewritten.