Fixed #903: Bug - Domain restore feature is broken