#22829 Fixed typo - parameter now called constrain_by_entity