ensure TSQLRestServer.OnUpdateEvent is called *before* record deletion, for SQLite3/external databases and MongoDB access