DOCS-1970 fix to redirect processing
mms: improved handling of mms documents