Fixed issue with recently added getChildren() method, wasn't returning what was intended