Fixing second part of issue #152: Variables in nth-selectors.