Function getFilterSelectionsForSearch