NXP-13691: improve optimized ACL filtering