Adding database function to delete conversion records.