IMAPFolderInfoOperation assert

Hi,

When running an IMAPFolderInfoOperation I consistently get the following assert.

MCIMAPSession.cc:813: assert mState == STATE_LOGGEDIN || mState == STATE_SELECTED

Using selectIfNeeded instead of select in IMAPFolderInfoOperation::main() seems to fix this issue. Any thoughts on this?