Hi wold,
with your new version, which is working fine on my end, I opened my testbook again and found that all page numbers are set to 1 (see screenshot) Using the Pocketbook reader or also the viewer app they are still at the right page.
I used your new debug feature with the SQL raw export, thanks for that

, to create a log file (see .txt attachment)
There is nothing wrong with Avater, but the database entry for the page number may not be the right one.