Fixed getUnit() bugs in MilitaryModule