Villagers randomly loses their intended beds and job site blocks even though it is within reach and valid. They are fine for a few minecraft days however they start to bug out and looks for other beds and job sites within the area (Every other villagers also do this) resulting a huge mess for trading halls as a whole.
The only way to remedy the problem is manually breaking and replacing all beds and job site blocks and then cycle around them again. However they then bug out after sometime later, and manually breaking 20+ beds and job sites can be extremely tedious.
Related issues
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-46157, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki