fix duplicate congresses by converting array to set