Fix for invalid percentage figures