Issue #1296: Patient records created by guests break the Excel export
Fixed