Fix solving in fast mode.