Assert buffer-undo-list is correct before setting repeat-replace-query
Replaced command delete-to-beginning-of-string with zap-up-to-string-case-sensitive