Corner case in solution reconstruction no longer causing segfault.