Changed equality comparison to feature space equality. Solution space equality caused some problems.