Fixed bug, field priorities were not output when performing a document save.