Fixed restrictions on assigning data sets to spectra