Fix crash on separator item (after last commit).