You should detach the parent container and not the children, as you would be firing a detach on one object versus many.