CRM-16471 since pending payments exist now the checkDupe function needs to include...