temp fix for postgres grouping error