Fix row sampling