Remove blank options from dropdown filters

Is there an easier way of checking for blank values?