Make arguments consistent between value_data functions
Convert one cast call to value_data_cast