Improve the "default" filters

- Added a $.trim() call that handles ko.computedObservables.
- Added a check for empty arrays also.