Handle the case with zero charges correctly.