Fix security object. Registry objects also have inheritance.