In the screenshot I'm facing north. East villagers are sleeping, west villagers don't.
Letting west villagers roam free, they will locate a different bed. When I lock them back with the slab (exact same setup as east side), they loose the connection with the bed again.
Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki