Fix for bug 21882: Added update task to remove listed unnecessary indexes