Fix percent cloud calculation.