Fix migrations 002 for monthly grouping

@gtrogers