imap: Fixed SELECT not being performed for custom requests