Fixing domain storage, domains weren't stored correctly.