Fix bugs 43617 and 43440 at http://bugs.sugarcrm.com

Exporting a prospect list for which the accounts of a contact has been changed or deleted over time, give incorrect results.  This bug has been in your database for years.  This patch fixes this result.  Please apply immediately to your sources.