191d8e49 introduced a regression: when no error is detected in the check, the code expects the validator to return false or undefined or null or anything which can be cast to false. Current behaviour raises an error whenever the controls are correct. This MR fixes the regression.