Fix problem with multiple instances migration
Merge pull request #46 from miarmak/instances_fix

Fix problem with multiple instances migration