fixed: autocomplete in j2.5, canSearch was not returning true