[DF-4290][DF-4201] Fixed dynamic introspection for material flags