I've been using your excellent Magic script to build some nice reports in Google Spreadsheets.
I have come across an issue that I'm not sure how to fix.
Background
=============
On blogger people can access either via desktop or via mobile. Mobile page views appends a ?m=1 to the end of the URL.
eg
Now when I try to build a "Top Posts" spreadsheet, I'm getting the articles listed twice ie once for the desktop and once for the mobile.
Screenshot

As you can see in the above example the same article "American Horror Story: Coven - Chapter 12, "Go To Hell" - Early Review | Spoilers" is listed twice. (Once for the desktop hits and once for the mobile hits ie m=1)
Is there any easy way to either combine the results so that mobile and desktop pageviews are combine into one, or have some fancy filter to pre-remove the ?m=1 parts so that the totals reflect both hits. Or if there is a different dimension I should be using rather than ga:pagePath ie is there some sort of canonical dimension?
Thanks in advance for any help/advice.
Regards
Andy