Bugfix in DetailedForm.cs