Remove wrong solutions