Merge pull request #1649 from anandpdoshi/hotfix

Pass frm to open_mapped_doc