Fix for editing security of collections/communities

Looks like editing security is not working as expected. In some cases request parameters can be passed as empty, which should be treated the same as the value not existing.

You can see this functionality is broken by attempting to change collection permissions through the interface with the upstream codebase.

- Matt