FIX: Does not fail anymore in metadata editor (fixes #61).

Fixes the bug that prevented document or metadata edition after editing
creator field, and update references in user interface.
Merge pull request #66 from neojerede/master

FIX: Does not fail anymore in metadata editor (fixes #61).

Fixes the bug that prevented document or metadata edition after editing
creator field, and update references in user interface.