fix for mailboxes with trailing delimiter in the new mailboxtree