Ensure the root element will be returned if the selector matches it.

e.g.:

<div class='foo'></div>

should match `selector: '.foo'` as well as `selector: ''`

Fixes: #6