Fixed constructor not setting classfier index