Remove solutions that no longer exist.