Fixed bug with undefined index in simpledata.php replace_ids_with_values()

When no value is set in a drop down, the option is given an index 0, which causes an error