Make sequence selectors work for nesting placeholders.