Fixing bug where searching also gets back fetch

A better fix will be to improve the imap client to either lock so that
it can only accept a single command at a time, or to filter responses
based on the command, e.g. a search command shouldn't get a fetch
response.