Delete handler in generic box/edge query