Fix long varchar error

It was truncating the first character of the string when the varchar had more than 255 characters.