Prevent result count going below 0
Added hit count cache to elasticsearch results