It was the test for :p:!delete that was wrong.  Duh