When Saving and Loading a layout which has empty DocumentHost an ArgumentOutOfRangeException is thrown