Fixed bug reported by Claudio about inherited roles