RA-453: Fix for provider linked to voided person.

https://issues.openmrs.org/browse/RA-453