fix(typeahead): evaluate matches source against a correct scope

Closes #1238