Fixed scaffold generator so that it will pass on unchanged scaffolding.