Role Permission Fix

Fixes the problem that permissions are not saved, when the role had no other permissions.