Yeah, I can't figure out the issue with the double-deletion either - I thought maybe it could've been that there were no 2024 records (I updated lastread but not percentread) but that didn't fix it. Likely just gremlins in the system. Editing the JSON to remove the book from 2023 worked.
The new version fixes the division by zero issue.