Fix bug #5052 - not work cancel inheritance on share. We were