Extends the filter functionality to still work even if the user selects the empty option. Also, removes a console.log that we forgot to remove.