Fix for empty default documents