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