Fixed bug in times not incrementing correctly
Added groupBy back into query() in provider as it was originally removed to try and fix a bug which it wasn\'t causing