Added charge bound check in force calculation.