It doesn't make sense. Why wouldn't the KKK drum him out if they knew the good he was doing in the black community?

If any actions he conducted as a member of the KKK actually adversely impacted the community, then those can be weighed too. Just attending the meetings, weighed against the good he did, doesn't seem to mean that much.