Correct handling of Display trait conversion