Added filtering using NSPredicate