Fixed bug where duplicate MDS Space names would cause segfault