Changing Company and Menu in Sage ERP 500 causes an error.

When trying to change the company in Sage 500 by using the drop down menu in 500 and also changing the Task Menu in the lower right hand corner I'm getting the following error.  I can log out and select the second company, but it takes more time.  Changing menus requires going into the System Manager and Maintain Users and then changing the menu.  This is taking too much time when working with different companies and menus. I'm on Sage 500 ERP 2013 - January 2015 Update.  This started when we upgraded to the 2013 version.   Any suggestions on how to resolve this?

Microsoft.NET Framework - Unhandled exception has occurred in your application.  If you click Continue, the application will ignore this error and attempt to continue.  If you click Quit, the application will close immediately. 

Cannot insert duplicate key row in object 'dbo.tsmPrimaryMenuUserGroup' with unique index 'XAK1tsmPrimaryMenuUserGroup'. The statement has been terminated.