Handle null custom flags registered by third-party plugins.

See WORLDGUARD-3094.