Fixed a bug on editing numeric data types.