Unit select now uses a foreach.