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
Merge branch 'develop' of https://github.com/unikent/programmes-plant into feature/module-data