Fix user_log for archive records (issue #4267)