Input Generator Bug Fix

Bug fix that solves the issue: "Gaffer crash creating Merge node".