Bug fixing: null prediction when using max-categories