fixing behavior of getContextForNames to return the unmatched names (previously it was not)