fix checking parenthood in Container::remove()
Merge pull request #12 from matej116/patch-1

fix checking parenthood in Container::remove()