Improved robustness of index template when data fetch fails, changed running data offset to include latest results.