Fixed an issue where domains do not exist yet.

So the mud works on first setup again.