[LV] Replace some dead code with an assert. When I first ported this