Fixed same issue in NonbondedForce serialization.