for LOOKUP queries with wildcards, return when there is a match. Refs #676