Ignoring that is a recipe for sky high prices and rolling blackouts, as well as the widespread abandonment of the entire enterprise. Those costs need to be factored in and then nuclear starts looking much, much better. It's not just solar not working at night -- even a cloudy day can result in 80% losses for solar. And wind is very intermittent.
The costs of keeping nuclear waste safe for 50 years is trivial compared to the costs of going through hundreds of billions of batteries and then recycling them over the same period of time, not to mention what to do with trillions of solar panels after they end their useful life, which is much shorter than 50 years. Solar and wind have a much bigger and more expensive waste problem, especially when you realize you need to recycle the batteries too.