Fixed #81: Update rewrite_fids to look for original view mode
Merge branch 'fix/media-view-mode'