-- fixed for CRM-10146, Restricted the creation of same membership and activity again.
Merge pull request #1173 from dpradeep/CRM-10146-recommit

-- fixed for CRM-10146, Restricted the creation of same membership and activity again.