Fix tricky invitations/boards migrations