issue #19131: Fix some issuses relating to creating customers.