When the iATS scheduler runs a recurring profile which is linked to a membership, the contribution is not being linked to the membership, and thus the membership end date does not increment. Ideas?

Drupal / CiviCRM 5.x / iATS ext 1.6.2

Update; 8/30 looking for ideas here: https://github.com/iATSPayments/com.iatspayments.civicrm/issues/217

In this issue KarinG states: " iATS extension itself just takes care of the monies; we use repeattransaction API in 4.7 -> and the fact that the recurring series is attached to a Membership - that should update it."

I think it might be due to an extension or configuration - will report back. Will check the logs.

Second update: could be that I did not select auto-renew on the webform or the field during data-import: https://github.com/colemanw/webform_civicrm/pull/181

Third Update: After marking auto_renew = TRUE for the recurring profiles, which are linked to memberships, the scheduled job still does not attach the contribution to the membership or update the end date. 

Fourth Update: Updated Webform CiviCRM and created a new test webform, test membership, and set up an ongoing contribution for 1 day membership. Will see if it updates tomorrow and compare. Also, in civicrm_line_items the test submission/membership has entity_table = civicrm_membership whereas the former case which did not link to membership shows entity_table = civicrm_contribution

Fifth Update: I made a new webform, test membership, and test record - and the membership does update now! I also have noticed the newly created one creates an activity record for membership renewal whereas the former one, which is not working, does not.