Add extra validator to compare number inputs.