Add case of training over zero instances