PLAT-4539 Fixed to give better indication of failures, corrected computations of percentages and booleans.