Added simple numerical validation for provided default values