Fix not shortening links longer than 255 characters (oops...)