Issue #1088: Add Excel Export of all patients matching specific filters
Fixed errors triggered when exporting empty patients