Better children() function (should be faster)