Show tag values return panic:runtime error: index out of range

I am running influxdb 1.6.2 on RedHat 7. When I do SHOW TAG VALUES FROM KPI WITH KEY = CELL WHERE MARKET = ‘New Jersey’ I get [panic:runtime error: index out of range]. After restarting influxdb the error goes away. I had this several times already. We have hundreds of thousand series on that measurement.

Any idea how to prevent this without re-starting influxdb? Thanks.