Fixed issue where a custom property with a null value caused the log message to be lost.