Improve the "default" filters [updated]

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