have to skip empty indices when doing classifying.

If a folder and its corresponding index is empty, there is just no way
for a mail to be classified to be there.