Change INVALID_ZM_MODULE to zero.

It's more likely to catch null reference errors if INVALID_ZM_MODULE is zero. Also, it's more logical that any non-zero is a valid value, including negative values.