CSPACE-6001: Handle trailing user-provided wildcard as a SQL wildcard, rather than as a literal.