Adds an additional check for enum value before converting it toLowerCase
Adds an additional check for enum value before converting it toLowerCase

Basically fixes an issue introduced with commit 2d298a3c9fca0a342251c665728cff04fc595a9b that causes conversion of undefined toLowerCase

TypeError: Cannot call method 'toLowerCase' of undefined
    at null.<anonymous> (/path/to/project/modules/elms/node_modules/sequelize/lib/dao.js:139:127)
    at EventEmitter.emit (events.js:95:17)
    at null.<anonymous> (/path/to/project/modules/elms/node_modules/sequelize/lib/dao-validator.js:45:17)
    at Hooks.runHooks (/path/to/project/modules/elms/node_modules/sequelize/lib/hooks.js:19:15)
    at null.<anonymous> (/path/to/project/modules/elms/node_modules/sequelize/lib/dao-validator.js:39:29)
    at Hooks.runHooks (/path/to/project/modules/elms/node_modules/sequelize/lib/hooks.js:19:15)
    at null.fct (/path/to/project/modules/elms/node_modules/sequelize/lib/dao-validator.js:26:27)
    at null.<anonymous> (/path/to/project/modules/elms/node_modules/sequelize/lib/emitters/custom-event-emitter.js:25:18)
    at processImmediate [as _immediateCallback] (timers.js:330:15)

gintsgints/sequelize,yotamofek/sequelize,overlookmotel/sequelize,denim2x/sequelize,p0vidl0/sequelize,dbirchak/sequelize,savageautomate/sequelize,camhux/sequelize,sreucherand/sequelize,phanect/sequelize,quiddle/sequelize,joe-at-fiziico/sequelize-point-support,kenjitayama/sequelize,venkatesh-tr/sequelize,seanjh/sequelize,bassarisse/sequelize,FredKSchott/sequelize,scboffspring/sequelize,cschwarz/sequelize,treythomas123/sequelize,oshoemaker/sequelize,sobotklp/sequelize,topikachu/sequelize,adeo-proxideco/sequelize-oracle,janmeier/sequelize,jayprakash1/sequelize,elijah513/sequelize,MagicIndustries/sequelize,inDream/sequelize,felixfbecker/sequelize,abegines/sequelize,jungseob86/sequelize,JYzor/sequelize,gorangajic/sequelize,sequelize/sequelize,overlookmotel/sequelize,Americas/sequelize,oss92/sequelize,nemisj/sequelize,eddieajau/sequelize,PsiXdev/sequelize,StefanoDalpiaz/sequelize,festo/sequelize,mcanthony/sequelize,atorkhov/sequelize,rodrigoapereira/sequelize,Ghost141/sequelize,PhinCo/sequelize,gutobortolozzo/sequelize,wKich/sequelize,jchbh-duplicate/sequelize,Znarkus/sequelize,Kagaherk/sequelize,briandamaged/sequelize,appleboy/sequelize,xpepermint/sequelize,andywhite37/sequelize,Daimonos/sequelize,bomattin/sequelize,jayprakash1/sequelize,Alexsey/sequelize,abossard/sequelize,zillow-oc/sequelize,dantman/sequelize,imjerrybao/sequelize,brunocasanova/sequelize,chriszs/sequelize,ReikoR/sequelize,yjwong/sequelize,calvintwr/sequelize,alitaheri/sequelize,meetearnest/sequelize,lebretr/sequelize-oracle,czardoz/sequelize,adeo-proxideco/sequelize-oracle,mikeringrose/sequelize,tmcleroy/sequelize,pedrox-3w/sequelize,Wsiegenthaler/sequelize,angelxmoreno/sequelize,johngiudici/sequelize,emhagman/sequelize,jingpei/sequelize,rpaterson/sequelize,paolord/sequelize,johanneswuerbach/sequelize,bangbang93/sequelize,linalu1/sequelize,tornillo/sequelize,konnecteam/sequelize,sankethkatta/sequelize,sequelize/sequelize,keik/sequelize,majorleaguesoccer/sequelize,baotingfang/sequelize,smokeelow/sequelize,seshness/sequelize,treejames/sequelize,yelmontaser/sequelize,sorin/sequelize,tedjt/sequelize,mendenhallmagic/sequelize,peachworks/sequelize,cbauerme/sequelize,pixel2/sequelize,thomascool/newsequelize,skv-headless/sequelize,givery-technology/sequelize,3ch01c/sequelize,seegno-forks/sequelize,pentium100/sequelize,scottty881/sequelize,codyrigney92/sequelize,growaspeople/sequelize,kevinawoo/sequelize,inDream/sequelize,bulkan/sequelize,Verdier/sequelize,pensierinmusica/sequelize,pola88/sequelize,SerkanSipahi/sequelize,globesherpa/sequelize,alexbooker/sequelize,niceilm/sequelize,rfink/sequelize,DavidMorton/sequelize,alanhoff/patch-sequelize-3489,Americas/sequelize,braddunbar/sequelize,toddbluhm/sequelize,alekbarszczewski/sequelize,konnecteam/sequelize,grimurd/sequelize,yonjah/sequelize,arcana261/sequelize,Bibernull/sequelize,crzidea/sequelize,eventhough/sequelize,lukealbao/sequelize,pimterry/sequelize,hariprasadkulkarni/sequelize,ziflex/sequelize,Amgen/sequelize,mliszewski/sequelize,ojolabs/sequelize,chauthai/sequelize,jasonku/sequelize,toddsby/sequelize,mvnnn/sequelize,Aweary/sequelize,botter-workshop/sequelize,sequelize/sequelize,jessicalc/sequelize,darwinserrano/sequelize,lebretr/sequelize-oracle,mdarveau/sequelize,3032441712/sequelize,subjectix/sequelize