MK-177
aggregation terms's count and default value behave inconsistently
Pull request fix
Merge pull request #299 from smirfolio/master

MK-177