Fixed bug in handling sparse data from Kibana