In my world I see villages using both `VILLAGE_Overworld_(dwelling ID Number)` and `VILLAGE_(dwelling ID Number)`
But now I seem to have two "ghost" villages using the old format only.
So now in my world I have locations where a bed can never be used anymore: https://www.reddit.com/r/technicalminecraft/comments/18att59/beds_stopped_working_in_specific_locations/
@Auldrick are you sure that deleting and re-building the village works?
I had a corrupted village of 20 villagers and 20 beds. When I deleted the beds and re-placed the beds in the same coordinates, then the villagers still could not claim them. So at least I had to not re-use any of the old bed coordinates.
But when I directly edited the database and deleted all the old-style "VILLAGE_(dewelling Id number)..." villages, everything was back to normal.