Fix bug with post shortener