Fix findFirstUDA to work for unmatched type annotations. Fixes #669.