Fixed "no extension shrinking" code to work correctly.
Fixed "no extension shrinking" code to work correctly.

--HG--
branch : HEAD

jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot