It seems there is no validation on `fit_ensemble` when ensemble size is `0`, causing an issue to appear as seen in #1327