I am getting this error while the tool on a single classification
ERROR 002517: This thematic raster has pixel values which are not in the attribute table.
However the pixel values are the same as the attribute table


This error does not occur when running the tool on a multiclass prediction raster for example when the Class Name and Class Value are NWL and WL and 1 and 2 respectively.
How can this this be fixed? Is the tool not designed for single class predictions?