Fix for mapEntity to avoid sending empty fields (critical for updateRecords).