Fixed wrong highlighting replacement.