Fix PostType::toURIString() when type doesn't have a fragment