Fixed autocomplete bug #4140

In DB:TNG $query->execute returns a result.  It does not turn $query into the result.

#4140