#2971: fixed a bug which caused an exception when loading problem instances with string variables (e.g. Miba instances)