off-by-one error in the nr.c unique routine fixed