Fixed waitForChildren()

- Checked the right children list