fixing elastic query for alphabet job