fixed search parameters to be null when nothing is selected