Error message after washing clothes

The game version is 7506 0.C-28624-g618730c (tiles).

The message below popped up after I washed filthy jumpsuit my character is wearing. I’ve cleaned that and checked if the morale debuff disappeared, but it didn’t I then moved my character one tile and got the message:

After I skipped the message, all my morale buffs and debuffs were negated to default even though I had a lot of different stuff there:


Could be related to

I’ve just reproduced it without washing - when wearing and/or removing some filthy closthes.