Updated find_variant function to show variants when there is only one option type