Fixed function remove_data_object_of_certain_element_value()