Fix clean class-index task