When you have a message like this:
Go back to the company list menu and move to the company in question without going in.
Make sure no one else is in it.
A window opens:
Enter the number mentioned in the error message and click on ok.
Go back to the company. It will do an upgrade of the data structure and everything will be in order.