Corrected the call to logmsg() in the IMAP SEARCH handler from commit 4ae7b7ea as it should have been outputting the what argument and not the test number.