Fixed Multiple solutions found bug