Fixed a bug that was causing Pregnancy encounter not to be voided if the patient is not enrolled in ANC connect program