Fix array indexing in role weights