Not getting selected value in setSelections of DynamicFacetListController while applying filter with FilterState

When I apply a filter using FilterState, it is not reflecting in setSelections method of DynamicFacetListController.
Example:- Let day I want to apply one colour as filter in one category, then in response I am not getting that colour as selected.
I am using instantSearch library in swift.