Improve method indentiation check for statements