Fixing bug in proportion numbers