When the extension searches for an email, it doesn't filter out the deleted contacts
Issue
We got a soft-deleted contact with email as testmail@example.com
Upon searching if that email exists, the function here is not checking if the contact is soft-deleted or not.
Possible solution
Add ->addWhere('contact_id.is_deleted', '=', FALSE)
as a criteria ?