Modify the plugin_helper to handle zero_to_one record types.

Currently it assumes that plugin-added record types will always be
arrays.  Allow it to be a single value (or nil) too.