PR:2110 modified opserver.py to fix List index out of range on /analytics/queries.