Instead of specifying `commitPath`, change the API so that both endpoints automatically roll back one commit before current