Add check to avoid 500 error when adding a user to an assembly