This is actually 2 bugs you are talking about.
The first is that the anvil cannot be deleted, which is a known bug.
The second is changing the blacksmith -> worker. That is a bug. I have faced the same issue. But it does not happen every time with me. I am glad you got a screen shot of it.