Avoiding returning nil from the calculator compute method

As per @Radar 's directive in https://github.com/spree/spree/issues/3787