Fix a bug to unrecognize an industrial type

I fixed the error, because I caught TypeError when there are not 'tank'
class at `$this.attr("class").split(" ")[1]`.