CRM/Logging - Fix log table exceptions