Adding `no-results` to the root element

New PR regarding the same thing mentioned at #1777.

@pfiller asked me to do a few changes which I did and now I think it's ready to be merged.

LMK what you guys think.

Thanks! :beer: