Fixes issues with updates on license and role acceptance upserts.