Fixed bug in initialSetup which triggered migration on fresh install