corrected tpostgresqlRow for deletion of deleted files

Realized the tpostgresqlrow component was trying to use an existing connection that doesn't exist. corrected that and moved the iDeleteResources before the iHarvestResources