Fix error on deletion of role