De-duping of option is now in a function and only called as needed.