Fix content type issue

Hopefully this should fix content-type detection issues on your site.