NXP-15145: fix condition evaluation for directory values filtering