Fix: IFNULL() in detail trigger causing delays in conversion
Fix: slow index performance due to IFNULL() on log_user_id
Merge branch 'dev' into test