Make some check on the role order due to role depencendies