Wrong colors if 2 scalars defined

I have a simple vtk legacy file where I defined 2 SCALAR fields under CELL_DATA. The first one is of “int” type and uses the default LOOKUP_TABLE. The second one is of “float” type and uses my own LOOKUP_TABLE.

When I display the elements and color the elements based on the float value the colors are all wrong. However, if I remove the “int” SCALAR from the file then the colors are displayed correctly.

I’ve included the file. If I display the colors from the cstatus field they are wrong. But if I delete the cuid entry from the file then cstatus displays the right colors.

Can anybody explain how to fix this?

Thanks.
simple.vtk (2.2 KB)