It not racist just because jazz musicians, by random historical accident, happened to mostly be black.
It is unethical, without any racism, to go looking for excuses to arrest people who play jazz. The proper response is to leave the music venue. Jazz isn't awful enough to merit such heavy-handed tactics.