Add wildcards to autocomplete query, refs #5435