Handle dynamic dependencies in new result insertion.