Refactor validation of categorical args to use set in place of range
Added hyperlink to regression tests