Fixed check when role is included through a role