Update invite candidates logic to also factor in spaces