Fixed y_unique incrementing.