using proper equality operator in takeWhere and valueForKey