(2) Where a party is represented in a civil action by an attorney working on behalf of or under the auspices of a legal aid society or a legal services or other nonprofit organization funded in whole or substantial part by funds appropriated by the United States Government or the General Assembly of the State of South Carolina, which has as its primary purpose the furnishing of legal services to i