Added second parameter to specify the selector for which to search children