added function to recursively search for children questions
fixed the recursive child search function