Fixed bug with extending nested selector inside placeholder selector. CLoses #1687