Обновились до 5.2.1-008 update 5. При внесении платежа выдается квитанция на платеж пятилетней давности

В базе этот платеж с квитанции лежит в архивированной таблице payment_transactions_1 с ID внесенного.
Где и что нужно исправить?
Код: Выделить всё
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT archive_id,start_date,end_date FROM archives ORDER BY id
?Debug : Jul 26 15:03:45 2aa9c580 UTM5 DBA: archive ID <1> case: start <= per_start && end >= per_end
?Debug : Jul 26 15:03:45 2aa9c580 UTM5 DBA: archive ID <2> case: start <= per_start && end >= per_end
?Debug : Jul 26 15:03:45 2aa9c580 UTM5 DBA: archive ID <3> case: start <= per_start && end >= per_end
?Debug : Jul 26 15:03:45 2aa9c580 UTM5 DBA: start(0) <= r(1311531743) < end(1311671025), adding non-archive table into report
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT account_id,payment_incurrency,currency_id,currency_rate,actual_date,payment_enter_date,method,payment_ext_number FROM payment_transactions WHERE id=94
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT table_name FROM archives WHERE archive_id='3' AND table_type='7'
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT account_id,payment_incurrency,currency_id,currency_rate,actual_date,payment_enter_date,method,payment_ext_number FROM payment_transactions_3 WHERE id=94
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT table_name FROM archives WHERE archive_id='2' AND table_type='7'
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT account_id,payment_incurrency,currency_id,currency_rate,actual_date,payment_enter_date,method,payment_ext_number FROM payment_transactions_2 WHERE id=94
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT table_name FROM archives WHERE archive_id='1' AND table_type='7'
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT account_id,payment_incurrency,currency_id,currency_rate,actual_date,payment_enter_date,method,payment_ext_number FROM payment_transactions_1 WHERE id=94
?Debug : Jul 26 15:03:45 2aa9c580 DBCtx: <683564032> SQL SELECT query: SELECT login,password,basic_account,full_name,juridical_address,actual_address,tax_number,kpp_number,bank_account,email,passport,bank_id,mobile_telephone,home_telephone,work_telephone,web_page,icq_number,district,building,entrance,floor,flat_number,comments,personal_manager,house_id,is_juridical FROM users WHERE id='21'