Fixed a bug in which the selected_sets property of the state was not rendering correctly.