Sets created during pass one shouldn't be created again at the end

Add a test for this too. Fixes issue 35.