Update option_type for has_many product through
Update option_type for has_many product through

Needed for search from option value.

Fixes #3910

shaywood2/spree,beni55/spree,tomash/spree,lsirivong/spree,robodisco/spree,fahidnasir/spree,net2b/spree,yushine/spree,azclick/spree,knuepwebdev/FloatTubeRodHolders,ckk-scratch/solidus,builtbybuffalo/spree,jeffboulet/spree,biagidp/spree,watg/spree,alepore/spree,Machpowersystems/spree_mach,keatonrow/spree,LBRapid/spree,joanblake/spree,miyazawatomoka/spree,DarkoP/spree,caiqinghua/spree,zamiang/spree,watg/spree,shekibobo/spree,jimblesm/spree,locomotivapro/spree,pervino/solidus,watg/spree,pervino/solidus,softr8/spree,pjmj777/spree,imella/spree,bonobos/solidus,vinsol/spree,grzlus/solidus,jimblesm/spree,KMikhaylovCTG/spree,yushine/spree,Engeltj/spree,PhoenixTeam/spree_phoenix,rakibulislam/spree,bjornlinder/Spree,RatioClothing/spree,jasonfb/spree,Lostmyname/spree,forkata/solidus,knuepwebdev/FloatTubeRodHolders,bjornlinder/Spree,siddharth28/spree,Lostmyname/spree,dotandbo/spree,Boomkat/spree,sliaquat/spree,groundctrl/spree,delphsoft/spree-store-ballchair,athal7/solidus,ramkumar-kr/spree,progsri/spree,TrialGuides/spree,madetech/spree,njerrywerry/spree,joanblake/spree,KMikhaylovCTG/spree,surfdome/spree,freerunningtech/spree,pervino/spree,miyazawatomoka/spree,lsirivong/solidus,CJMrozek/spree,jasonfb/spree,Senjai/solidus,softr8/spree,karlitxo/spree,APohio/spree,reinaris/spree,tesserakt/clean_spree,ayb/spree,brchristian/spree,scottcrawford03/solidus,Machpowersystems/spree_mach,builtbybuffalo/spree,mindvolt/spree,ahmetabdi/spree,adaddeo/spree,JuandGirald/spree,azclick/spree,Nevensoft/spree,project-eutopia/spree,sideci-sample/sideci-sample-spree,patdec/spree,trigrass2/spree,Ropeney/spree,azranel/spree,Boomkat/spree,firman/spree,CiscoCloud/spree,jeffboulet/spree,camelmasa/spree,patdec/spree,FadliKun/spree,derekluo/spree,dandanwei/spree,reidblomquist/spree,calvinl/spree,woboinc/spree,scottcrawford03/solidus,carlesjove/spree,adaddeo/spree,dandanwei/spree,progsri/spree,DarkoP/spree,sideci-sample/sideci-sample-spree,camelmasa/spree,vulk/spree,madetech/spree,grzlus/solidus,zaeznet/spree,Hawaiideveloper/shoppingcart,rajeevriitm/spree,camelmasa/spree,richardnuno/solidus,lyzxsc/spree,moneyspyder/spree,caiqinghua/spree,alvinjean/spree,sunny2601/spree,patdec/spree,shioyama/spree,pervino/spree,Hates/spree,progsri/spree,alejandromangione/spree,Mayvenn/spree,siddharth28/spree,orenf/spree,softr8/spree,delphsoft/spree-store-ballchair,calvinl/spree,shaywood2/spree,bonobos/solidus,karlitxo/spree,grzlus/solidus,net2b/spree,archSeer/spree,azclick/spree,tomash/spree,ramkumar-kr/spree,berkes/spree,derekluo/spree,mindvolt/spree,edgward/spree,njerrywerry/spree,dotandbo/spree,DynamoMTL/spree,CiscoCloud/spree,moneyspyder/spree,Arpsara/solidus,ujai/spree,degica/spree,cutefrank/spree,Senjai/solidus,robodisco/spree,jordan-brough/spree,Hates/spree,PhoenixTeam/spree_phoenix,firman/spree,devilcoders/solidus,yomishra/pce,thogg4/spree,alvinjean/spree,pervino/solidus,vulk/spree,lyzxsc/spree,quentinuys/spree,mindvolt/spree,vinsol/spree,StemboltHQ/spree,athal7/solidus,progsri/spree,zamiang/spree,useiichi/spree,devilcoders/solidus,pervino/spree,jordan-brough/solidus,CJMrozek/spree,quentinuys/spree,lsirivong/spree,Migweld/spree,hifly/spree,fahidnasir/spree,wolfieorama/spree,yushine/spree,moneyspyder/spree,project-eutopia/spree,richardnuno/solidus,jspizziri/spree,piousbox/spree,kewaunited/spree,Arpsara/solidus,bricesanchez/spree,edgward/spree,xuewenfei/solidus,adaddeo/spree,rajeevriitm/spree,TrialGuides/spree,woboinc/spree,FadliKun/spree,rakibulislam/spree,jeffboulet/spree,calvinl/spree,yiqing95/spree,DynamoMTL/spree,omarsar/spree,grzlus/spree,JDutil/spree,abhishekjain16/spree,jsurdilla/solidus,freerunningtech/spree,assembledbrands/spree,xuewenfei/solidus,fahidnasir/spree,NerdsvilleCEO/spree,dafontaine/spree,xuewenfei/solidus,hoanghiep90/spree,keatonrow/spree,archSeer/spree,JDutil/spree,shioyama/spree,ahmetabdi/spree,Mayvenn/spree,richardnuno/solidus,orenf/spree,beni55/spree,DynamoMTL/spree,SadTreeFriends/spree,odk211/spree,jparr/spree,ayb/spree,odk211/spree,hifly/spree,priyank-gupta/spree,hoanghiep90/spree,sliaquat/spree,wolfieorama/spree,pervino/spree,SadTreeFriends/spree,Hawaiideveloper/shoppingcart,madetech/spree,useiichi/spree,net2b/spree,berkes/spree,ahmetabdi/spree,njerrywerry/spree,yiqing95/spree,yomishra/pce,miyazawatomoka/spree,piousbox/spree,dandanwei/spree,alejandromangione/spree,lsirivong/solidus,alepore/spree,joanblake/spree,grzlus/spree,JuandGirald/spree,ayb/spree,yiqing95/spree,jimblesm/spree,vulk/spree,vmatekole/spree,TrialGuides/spree,sfcgeorge/spree,reidblomquist/spree,Lostmyname/spree,degica/spree,AgilTec/spree,dotandbo/spree,reinaris/spree,tomash/spree,jspizziri/spree,tancnle/spree,NerdsvilleCEO/spree,vinsol/spree,Senjai/solidus,caiqinghua/spree,devilcoders/solidus,locomotivapro/spree,ckk-scratch/solidus,sideci-sample/sideci-sample-spree,welitonfreitas/spree,Lostmyname/spree,APohio/spree,abhishekjain16/spree,vinayvinsol/spree,RatioClothing/spree,berkes/spree,SadTreeFriends/spree,archSeer/spree,volpejoaquin/spree,vulk/spree,assembledbrands/spree,alepore/spree,woboinc/spree,Mayvenn/spree,zaeznet/spree,softr8/spree,alejandromangione/spree,tancnle/spree,kewaunited/spree,dotandbo/spree,volpejoaquin/spree,NerdsvilleCEO/spree,jeffboulet/spree,karlitxo/spree,DarkoP/spree,raow/spree,alvinjean/spree,pjmj777/spree,yushine/spree,shaywood2/spree,project-eutopia/spree,jordan-brough/solidus,Hates/spree,madetech/spree,project-eutopia/spree,karlitxo/spree,ahmetabdi/spree,athal7/solidus,thogg4/spree,raow/spree,reinaris/spree,radarseesradar/spree,gautamsawhney/spree,jordan-brough/spree,sliaquat/spree,agient/agientstorefront,APohio/spree,rakibulislam/spree,welitonfreitas/spree,firman/spree,vcavallo/spree,radarseesradar/spree,alvinjean/spree,surfdome/spree,JDutil/spree,jimblesm/spree,quentinuys/spree,shioyama/spree,piousbox/spree,yiqing95/spree,rbngzlv/spree,AgilTec/spree,vcavallo/spree,nooysters/spree,tancnle/spree,vmatekole/spree,jasonfb/spree,surfdome/spree,vinayvinsol/spree,njerrywerry/spree,jaspreet21anand/spree,trigrass2/spree,net2b/spree,welitonfreitas/spree,ckk-scratch/solidus,odk211/spree,Kagetsuki/spree,welitonfreitas/spree,surfdome/spree,tailic/spree,maybii/spree,shekibobo/spree,reidblomquist/spree,useiichi/spree,priyank-gupta/spree,CiscoCloud/spree,jsurdilla/solidus,alejandromangione/spree,cutefrank/spree,Ropeney/spree,omarsar/spree,grzlus/spree,robodisco/spree,odk211/spree,pulkit21/spree,lsirivong/spree,PhoenixTeam/spree_phoenix,LBRapid/spree,edgward/spree,cutefrank/spree,bonobos/solidus,CJMrozek/spree,DarkoP/spree,jaspreet21anand/spree,azclick/spree,vinayvinsol/spree,shekibobo/spree,caiqinghua/spree,edgward/spree,StemboltHQ/spree,firman/spree,vcavallo/spree,derekluo/spree,scottcrawford03/solidus,patdec/spree,siddharth28/spree,maybii/spree,Arpsara/solidus,grzlus/spree,APohio/spree,archSeer/spree,forkata/solidus,beni55/spree,Senjai/solidus,derekluo/spree,Engeltj/spree,degica/spree,Kagetsuki/spree,gregoryrikson/spree-sample,vinsol/spree,jsurdilla/solidus,vmatekole/spree,ramkumar-kr/spree,Kagetsuki/spree,Migweld/spree,bricesanchez/spree,orenf/spree,dafontaine/spree,lsirivong/solidus,joanblake/spree,lyzxsc/spree,brchristian/spree,agient/agientstorefront,pervino/solidus,Nevensoft/spree,Migweld/spree,dandanwei/spree,AgilTec/spree,fahidnasir/spree,dafontaine/spree,trigrass2/spree,builtbybuffalo/spree,tomash/spree,omarsar/spree,calvinl/spree,jordan-brough/solidus,FadliKun/spree,knuepwebdev/FloatTubeRodHolders,hifly/spree,beni55/spree,RatioClothing/spree,pjmj777/spree,tesserakt/clean_spree,yomishra/pce,rbngzlv/spree,quentinuys/spree,jordan-brough/spree,maybii/spree,carlesjove/spree,gregoryrikson/spree-sample,forkata/solidus,Senjai/spree,raow/spree,DynamoMTL/spree,locomotivapro/spree,jasonfb/spree,vinayvinsol/spree,priyank-gupta/spree,Nevensoft/spree,nooysters/spree,StemboltHQ/spree,trigrass2/spree,scottcrawford03/solidus,rajeevriitm/spree,carlesjove/spree,AgilTec/spree,jparr/spree,jsurdilla/solidus,Senjai/spree,vmatekole/spree,volpejoaquin/spree,richardnuno/solidus,carlesjove/spree,siddharth28/spree,sunny2601/spree,imella/spree,CiscoCloud/spree,Senjai/spree,keatonrow/spree,wolfieorama/spree,rakibulislam/spree,Boomkat/spree,volpejoaquin/spree,ujai/spree,radarseesradar/spree,piousbox/spree,tailic/spree,robodisco/spree,radarseesradar/spree,biagidp/spree,TrialGuides/spree,priyank-gupta/spree,cutefrank/spree,camelmasa/spree,hoanghiep90/spree,Boomkat/spree,azranel/spree,sfcgeorge/spree,mleglise/spree,mleglise/spree,gregoryrikson/spree-sample,nooysters/spree,zaeznet/spree,JuandGirald/spree,xuewenfei/solidus,miyazawatomoka/spree,imella/spree,groundctrl/spree,freerunningtech/spree,jparr/spree,gautamsawhney/spree,Mayvenn/spree,adaddeo/spree,jordan-brough/solidus,agient/agientstorefront,agient/agientstorefront,jaspreet21anand/spree,sunny2601/spree,PhoenixTeam/spree_phoenix,reinaris/spree,Engeltj/spree,nooysters/spree,rajeevriitm/spree,gregoryrikson/spree-sample,TimurTarasenko/spree,bonobos/solidus,TimurTarasenko/spree,azranel/spree,Machpowersystems/spree_mach,thogg4/spree,gautamsawhney/spree,abhishekjain16/spree,shaywood2/spree,rbngzlv/spree,raow/spree,Nevensoft/spree,NerdsvilleCEO/spree,sliaquat/spree,LBRapid/spree,assembledbrands/spree,zaeznet/spree,jaspreet21anand/spree,Hawaiideveloper/shoppingcart,CJMrozek/spree,sfcgeorge/spree,ckk-scratch/solidus,kewaunited/spree,dafontaine/spree,FadliKun/spree,brchristian/spree,KMikhaylovCTG/spree,mindvolt/spree,Ropeney/spree,KMikhaylovCTG/spree,vcavallo/spree,forkata/solidus,lyzxsc/spree,lsirivong/spree,jparr/spree,devilcoders/solidus,locomotivapro/spree,gautamsawhney/spree,Migweld/spree,sfcgeorge/spree,bjornlinder/Spree,sunny2601/spree,kewaunited/spree,wolfieorama/spree,useiichi/spree,jspizziri/spree,TimurTarasenko/spree,SadTreeFriends/spree,tailic/spree,mleglise/spree,Engeltj/spree,hifly/spree,berkes/spree,azranel/spree,Hawaiideveloper/shoppingcart,brchristian/spree,maybii/spree,hoanghiep90/spree,jspizziri/spree,tancnle/spree,ramkumar-kr/spree,reidblomquist/spree,grzlus/solidus,JuandGirald/spree,tesserakt/clean_spree,groundctrl/spree,shekibobo/spree,moneyspyder/spree,omarsar/spree,Kagetsuki/spree,orenf/spree,ujai/spree,bricesanchez/spree,abhishekjain16/spree,Ropeney/spree,thogg4/spree,delphsoft/spree-store-ballchair,delphsoft/spree-store-ballchair,keatonrow/spree,Arpsara/solidus,zamiang/spree,tesserakt/clean_spree,zamiang/spree,Hates/spree,lsirivong/solidus,mleglise/spree,builtbybuffalo/spree,groundctrl/spree,pulkit21/spree,ayb/spree,rbngzlv/spree,TimurTarasenko/spree,JDutil/spree,biagidp/spree,pulkit21/spree,pulkit21/spree,athal7/solidus