Fix rows affected number