Fixed a problem with the audit serilization code.