Fix Groovy scoping issue in the friendsuggest example, also described in #1.