Fix core dump in bjobs. Since 2.1 hostid start from 0.