Since todays patch all children are dying when upgrading a house or demolishing one even if there is plenty enough roam available.
I built a 10 ppl house, which had 6 free places after building and still 2 children died when i demolished a small one because the game meant there wasn't enough room for it. House still had 4 free places after demolish.