CRM-14968: fix skipping membership record creation for free membership

CRM-14968: fix skipping membership record creation for free membership