updated code for better_exposed_filters