Fix unique child warning

Fixes #249