[BUGFIX] Prevent overwriting DataStructure unless template exists