Fixes for searching and replacing in Word docs