fixed bug in allowing aggregates in get_options_list
Merge pull request #72 from twobraids/option_aggregate_bug

fixed bug in allowing aggregates in get_options_list