[FIX] prevent crash when searching strings (addon web)

with the switch to moment.js, the way dates are parsed has changed,
and the autocompletion should be adapted to ignore invalid dates.