Fix editing sys_external_meran on an invalid id