Fixed possible dup problem in SAGMill