Fixed auto-fill not properly replacing .docx files due to gramstart and gramend tags from word