I can relate to this. A LOT of very successful people have varying amounts of skeletons in their closets.
I would probably not be able to buy an album or recommend it to anyone in that case but grudgingly accept that they make great art is on the table for me.
To determine the best course of action, I‘d analyze their transgression (aiding a seditionist, working towards disinforming people about a deadly disease, the latter which constitutes murder in my book) and if thats not enough, exchange it for more heinous and obvious crimes to check what my moral compass says then. If it spikes (and I know it does for me) I‘d keep away from that artist but accept if I start vibing when they’re played in the radio.