Fix case where a set is instantiated in a distillery callable.

A test case has been added to show this.