Improved delete arg checking.