Fixes tracking nested selectors from source input maps.

* It was broken because input source maps point to the most specific selector.
* We were tracking by least specific before.
* It is a more or less a hack since at 'stringify' stage we already lost info about original declaration.
  However it works well so it's gonna be done in 3.1 (see #396).