Predicate fix when the value is a set or array

If the predicate value was an array or set, it ended up getting clobbered due to the missing else if

e.g.

Error performing fetch on '<NSFetchRequest: 0x1029d8e20> (entity: MyEntity; predicate: (guid IN {"b3ae785c-051a-4834-a6ab-588a007b841b"}); sortDescriptors: ((
)); type: NSManagedObjectResultType; )': Error Domain=NSSQLiteErrorDomain Code=1 "The operation couldn’t be completed. (NSSQLiteErrorDomain error 1.)" UserInfo=0x10533c4b0 {CMDEncryptedSQLiteStoreErrorMessageKey=near "?": syntax error}