Bugfix when there are too few features