BugFix: fixed consolidatedAmount computation