Added error message if you try and filter by role without giving rolename.