Ignore children with clashing keys

Fixes #566.