Added check to see if the list of collaborators to invite are empty.