Fixed percentage calculation so it doesn't round up to 100%