Fixed code to handle new style FutureCost inputs.