Fix search-replace in my_rm