Change ProcessQueue logic to include a sanity check for team sizes.