Fix issue generating derivatives when adding datastreams...

Objects in `$form_state` strikes again!

Just threw in comment indicating deprecation of the 'object' variable, as there may exist custom validators which are being altered in to do... things? Dunno... Just seemed like a good idea at the time.