Fix a Stack Overflow Problem in GroovyCollections