Do not delete child that is already gone.

Fixes #154