Fixed the AbstractMappingConstraint for the new solver