Fixed bug where wrong row was deleted when insert location was above the pickup location.