search-replace: move primary key check
search-replace: update man page