When deleting ast_contract, new dummy ast_contract is created by business rule: Update asset_types on contract on removeDescriptionWhen deleting ast_contract, new dummy ast_contract is created by business rule: Update asset_types on contract on removeSteps to Reproduce > Open ast_contract, create a new one> On the new ast_contract, pick Assets Covered> Delete the new ast_contract> Check ast_contract table in list view, you will see new dummy ast_contract got createdWorkaroundOpen business rule: Update asset_types on contract on remove Change below: contract.next(); contract.setValue('asset_types', assetTypes.toString());contract.update(); to: if(contract.next()) {contract.setValue('asset_types', assetTypes.toString());contract.update();}Related Problem: PRB1854666