Try this:
In WrpEdit, select all cells, then on the Flags Tab press the Default button.
This will set all the terrain flags to default values.
You might also wish to do the same for the Env Snd flags.
Follow this procedure after every editing session before saving.
Planck