[DF-2636] Fixed filtering model for materials at library