Fix casting when transcoded content type is null