Fix bug on document creation when instantiating a workflw with a role not mapped to a user. #147