limit query length
add granularity to stop page from breaking on long timeranges
add granularity to stop page from breaking on long timeranges