Extract method works properly with code indented more than one level