Fixes in smart contracts and payment plans.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>