Fix classIdx=0 issue (while providing values w/o class)