Fixed bug where index error thrown when...

editing a reaction adds a new metabolite after deleting many rows. Id's
will not be consecutive but user does not see id's.