Small fix to save role when invitation is sent