Add optional grouping-interval to transactions