Improved error reporting for child nodes.