fixed a bug where a constructor type was deduced wrong when nested in a tuple
fixed another bug with constructor type deduction