BaggingWrapper: fix bug when only 1 obs was predicted