bug fix - update condition b/c moved from NSMutableArray to NSSet