Check for a present but falsy (zero) allianceID.

Fixes #89