Bugfix in paramater set building