Made sure best solution was being saved.