fixed a big bug related to empty sets for old collapse quality