Extract method: Fixing bug with code fragment finder

Bugfix: Searching duplicate code fragments now consideres all ASTNodes