bug-29: use the first element when we have multiple elements queried for

base query.