Fix bug getDocumentChildren
http://monosnap.com/image/B3JQAV6QO5EL7bvpyKlKuwrf93XGSU