Fix Solver initialisation bug with empty(!) input.