Fix some bugs in the Field and in the Row class