Fixing handling of relative and absolute roles