Remove some bad solutions.