Bugfix: return the DOMNodeList, if $as_array is false
Merge pull request #1 from Darhazer/patch-1

Bugfix: return the DOMNodeList, if $as_array is false