Fix issues when editing an asset that was just added.
fixes #82