fix for get_constant_value
Merge pull request #1338 from pascanur/get_scalar_constant

fix for get_constant_value