Fixed issue with domain security inheritance