Fixed NPE when specified role does not have any assigned users.