Fix goal not added when target min and max are equal
If there was already an existing constraint from a previous priority, any later goals for the same state with target_min and target_max equal would not be added. The correct implementation only skips adding new goals when existing constraints have their min equal to max.