Fixing bug in base_report widget

Grouping restriction wasn't creating the enum list correctly