Removal didn't work properly from beginning/end if the range contained only a single sequence.
Removal didn't work properly from beginning/end if the range contained only
a single sequence.

--HG--
branch : HEAD

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