tabPayment Entry Reference entries not deleted Bug

When Company Transactions are deleted, the entries of tabPayment Entry Reference are remain undeleted. This may cause real problems when entering new transactions on the same company.