Added a work-around for IMAP servers that send "* OK [UNSEEN 0]"

Fixes issue #34