Fixed metabolite undo bug

counter variable metaboliteRedocount was being decremented incorrectly.