Ensure db object read preferences are set to primary when saving changes
Fixed perms