Fix typo preventing document mimetypes from being correct

From #3305.