feature (#21416) fixed a logic error and removed the strictness of the multiple constraint