Improved code for invalid company notice in customer widget.