webui: replace a few validate_range() calls that were still left