Add missing compare of last word in `equal-proc`.