Fix the logic to shorten tweets.

23 chars are reserved for url.