Quickfix for exception being thrown.
```
Exception on /view/<hashid> [GET] Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
  response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
  rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
  reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
  rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
  return self.view_functions[rule.endpoint](**req.view_args)
File "./hasjob/views/listing.py", line 115, in jobdetail
  siteadmin=lastuser.has_permission('siteadmin')
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 128, in render_template
  context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 110, in _render
  rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 969, in render
  return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 742, in handle_exception
  reraise(exc_type, exc_value, tb)
File "/var/www/hasjob/hasjob/hasjob/templates/detail.html", line 2, in top-level template code
  {% from "inc/forms.html" import ajaxform %}
File "/var/www/hasjob/hasjob/hasjob/templates/inc/layout.html", line 67, in top-level template code
  {% block content %}{% endblock %}
File "/var/www/hasjob/hasjob/hasjob/templates/detail.html", line 120, in block "content"
  {% with unittype = post.viewstats[0] %}
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 397, in getattr
  return getattr(obj, attribute)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/utils.py", line 71, in __get__
  value = self.func(obj)
File "./hasjob/models/jobpost.py", line 103, in viewstats
  return 'q', viewstats_by_id_qhour(self.id)
File "/usr/local/lib/python2.7/dist-packages/flask_cache/__init__.py", line 449, in decorated_function
  rv = f(*args, **kwargs)
File "./hasjob/models/jobpost.py", line 185, in viewstats_by_id_qhour
  return viewstats_helper(jobpost_id, 900, 24)
File "./hasjob/models/jobpost.py", line 167, in viewstats_helper
  clist[int(int(itemdelta.total_seconds()) // batchsize)] += 1
IndexError: list index out of range

```