Fix logic in ThumbMethod
Merge remote-tracking branch 'origin/master'