Fixed #715: Form Population trips over entities in error messages when inserting them into the document