Automatic index change detection