correct check_for_null for l2gw delete