make sure that we deduct the correct amount when the calculable is order same as done with the line_items.

Fixes #4105