elasticsearch sanitation
omits records with id 0