Solves PROBCORE-475

An IndexOutOfBoundException is no longer thrown when a user tries to replace a trace that no longer exists in the registry. Instead, the new trace is added to the registry.