Not a bug, in forest dungeon the theme is prisoner, prisoner gear is treated as 0 durability and wont break, but can be swapped out by enemies. In caverns it is treated as all other gear and its durability goes down. This is also the case with the maid gear in the cavern. Each area has a theme and its cursed set will be treated that way.