getConfMatrix: fix a bug when not all factor class levels are present in 'newdata'