The nearest bed has nothing to do with it, it's the bed you last slept in. But the Wiki advertises a feature for tents/shelters (which count as beds), where when you remove one it will default back to the last actual bed you slept in. It's not doing that.
To be very clear: I don't need general help from people who don't know anything about tents or advice about what they do instead. This is basic troubleshooting. I'm trying to determine if that is a bug (which means I need to make a bug report), a mistake on the wiki (which needs to be corrected), or if I'm doing something wrong (which means I need to correct my own actions). Either way, I need to pin down why this is happening and what action needs to be taken. If you don't know anything about tents because you don't use them, that's fine, I have no use for them either unless/until this is sorted, and I have my own workarounds.
Does anybody know anything about this feature? Has anybody successfully made use of it?