Fixed bug where GDBB set Knockouts in wrong row

when rows have been added. Add Rows menu items disabled when
optimization selected in tree