Be explicit about allowed constraint values, fixes #14702