to support NSArray Value, just like []

It crashed when I use [db dictionaryByFilteringWithPredicate:predicate], as my value is NSArray. I have fixed it, please check whether it is right or not.