guard range validator to prevent min values bigger than max values
docs on leaf validators