Re #10355 check boundary constraints