Correct Patient ID field in log.  Use null value not string
history update fix