fix for #123

Auditlogger gives nullreference exception when trying to lo a relationship that is already loaded, in case the value of the relationship is null