An earlier "fix" to use the .bth file instead of the .log file didn't work, so I backed it out and simplified the related decision logic.