You are correct. However I will say this. Whoever instructed them when they took their CCW classes missed the boat. If you have a CCW and are armed there are things you need to do and not do when pulled over. 
If pulled over here is the best policy. Pull over ASAP. Turn off engine. Turn on dome light. Roll down window. Driver should have both hands on wheel. Passenger should have both hands on dash. Tell police there is a firearm on person or in car. Do not move until instructed to do so.
The cop was wrong and race was a major factor as you stated. But carrying a firearm has great responsibility. Its not enough to know the laws. You must also know and practice what to do when dealing with those who enforce the laws. 
I have been pulled over many times while carrying. In every case I have always done exactly what Ive posted here. In every case there has never been an issue.  Do as I suggest and the police will thank you. All CCW instructors should teach this.