[0.A Stable] [Curses] [Windows 7] Spiked pit issue

Placing plank over spiked pit is buggy if spiked pit was destroyed and reconstructed
Repro steps:

  1. Dig pit and construct spiked one (in my case with 4 pointy sticks);
    1.5 Optionally - place plank (two by four) over spiked pit and check that pit is passable
  2. Let some creatures fall into it till it is destroyed into pit and several wood spears
  3. Reconstruct broken spiked pit
  4. Place plank (two by four) over reconstructed spiked pit and it turns into normal pit. Trying to step into it shows warning that character will fall down. Examining pit offers to remove plank and pit becomes spiked one again.