Added logic that will prevent the random selection of members of $users. Prevents issues when the PI is inadvertently the same as one of the workflow users.