possible fix for trivial restrict constraint errors - init map for table before adding related records to force delete on this table is called first