Fixed #3150 causing error when setting dataGrouping options for flag series.