Update analytics.php

We had an outdated master copy.  Was pointed out that the code was slightly different.  When we requested the pull however, we left out the important detail for the grouped filter items.  This request fixes that.