Fixed content type being re-set automatically despite it was already set.