Remove unnecessary indexes