Don't rely on NULL->bool auto-conversion.

This is really a copy+paste error.