CRM-15203 fix situation where membership payment record is not created