Fix es query to get actual records.