Small changes in hqadmin/views.py