Check for values <-1 in RemoveGrain and Repair