NXP-10254: fix folders filtering