Added checkIndexStatus