Make safe repr more safe