Fix injection scopes: loop over all parents to determine the types to un-register in the child injector. Also remove useless comparisons of destroy operation.