Fixed bug with scaling up to 100% of current capacity