Fixed missing check on new calculation of service total cost.