Don't modify the bug before copying it into history.