Fix es tasks indices definition