Fix stale sldbs not being removed.