Fixes the SeamGenerator functionality and the corresponding test.