Fix for a second segfault caused by classes with a small number of samples