Fixed bug in GUI when adding Misc -reference.