Self-explanatory but sad. I believe this bug goes back to at least the introduction of tactic annotations. But it came up again because some of my proofs started pending if I export them and reimport them.