Truncate long problem names