Fix for issue #860. Proper coloring of 2d table values based on range, broke range checking. Fixed now