After a database repair, a single AI reply wasn’t being counted in AI usage, which triggered duplicate alerts. The fix ensures that usage counters update correctly after the repair and no spurious alerts are raised for completed AI interactions.
Fixes: HTPR-7102