allow hgb_klasse in WHERE expressions: HAVING will not work well with SUM