actually add the new derivative when overwriting the old one.

@scoen,  this looks to fix my problems with derivative creation for now.  Does it look to make sense?