fix transaction switch in delete
fix transaction switch in delete

Co-authored-by: Raphael Guzman <c08d92c0cefbbed74a8dd4f6312f409a6a3368ce@users.noreply.github.com>
datajoint/datajoint-python,dimitri-yatsenko/datajoint-python