Fixed bug in 'ExtractMethodAction'.