Fixed bug #80811 When filling in defaults for skipped params, make sure that reference parameters get the expected reference wrapper.