are we ok with raising an exception here  we did not before  wouldn t a safer fix issuing a delete on first being not none  having said that we should just issue a delete like because it makes no sense to select and delete  it is racy  and we want to kill the race entirely  sqlalchemy orm query query delete