issue #19714: Fix timing problem with number check. Make sure validation...

... happens when busy committing. Some linting too.