Bug fix

Should have tested last commit a little more... I need to reset the
model at the end of adding rows so that if there is missing data it will
not add what was the previous addition.