A fix to the infinite loop when entering woocommerce settings on a new site.

Fixes: Issue #53