Added month into consideration when grouping portfolio items.