I'm sure some subset of them didn't vote for him just because he's black - rather because he's a socialist and they were voting for the handouts they knew they would get from him.
A white socialist would have gotten their vote as well - but of course would not have been elected.
That's a good point, and that's even worse, IMHO.