fix #413. Don't assume the group by interval is > second
Merge pull request #413 from influxdb/fix-413-small-group-by-time

 runtime error: integer divide by zero.