plugin: Improve quality weight groups.