CRM-14951 num terms not respected for first membership