Work-around for error where history filtering using Immutable.Map() was occasionally passing "undefined" to the filter function. With the error in place, it didn't seem to break functionality, it just logged the error.
Work-around for error where history filtering using Immutable.Map() was occasionally passing "undefined" to the filter function.
With the error in place, it didn't seem to break functionality, it just logged the error.

Auditors: @diracdeltas

Test Plan:
1. Launch Brave and open a new tab
2. Push Shift+F8 to open console for browser
3. Put focus back onto webview
4. Click inside the URL bar and then type some chars
5. Notice there is no error anymore :)

diasdavid/browser-laptop,diasdavid/browser-laptop,darkdh/browser-laptop,willy-b/browser-laptop,luixxiul/browser-laptop,pmkary/braver,willy-b/browser-laptop,willy-b/browser-laptop,dcposch/browser-laptop,timborden/browser-laptop,darkdh/browser-laptop,willy-b/browser-laptop,jonathansampson/browser-laptop,luixxiul/browser-laptop,jonathansampson/browser-laptop,timborden/browser-laptop,darkdh/browser-laptop,diasdavid/browser-laptop,pmkary/braver,darkdh/browser-laptop,jonathansampson/browser-laptop,dcposch/browser-laptop,jonathansampson/browser-laptop,luixxiul/browser-laptop,timborden/browser-laptop,pmkary/braver,timborden/browser-laptop,luixxiul/browser-laptop,dcposch/browser-laptop,diasdavid/browser-laptop,pmkary/braver,dcposch/browser-laptop