Defensively checks that children exist in has_changes
Merge pull request #4390 from edx/benmcmorran/defensive-has-changes

Defensively checks that children exist in has_changes