I assume lastgenre with canonicalization[0] enabled is what you need, along with count=1 if multiple genres are an issue.
[0] https://beets.readthedocs.io/en/stable/plugins/lastgenre.htm...
[0] https://beets.readthedocs.io/en/stable/plugins/lastgenre.htm...
Limiting to one genre I don't think will fix it - what I want is to define the allowable values for genre, and then limit to one.
It's probably better with the limit one though!
Be sure to enable canonical so it converts the specific genres into their parent genre.