Updated the recursive XML to prevent errors.