When entering portions, amounts are also calculated correctly.