Protect against conditional module assignment