Selector can be a document. Will also return an empty array if selector isn't a string after node and array checks.