User arel to build the multi selection condition
User arel to build the multi selection condition

User arel to build the multi selection condition, this way comparing
different types and comparing nil values is covered. We don't use
arel's or, since that causes nesting of the conditions, while we
want them flat.

pkomanek/manageiq,pkomanek/manageiq,mkanoor/manageiq,romanblanco/manageiq,jrafanie/manageiq,jrafanie/manageiq,syncrou/manageiq,hstastna/manageiq,skateman/manageiq,jvlcek/manageiq,yaacov/manageiq,tinaafitz/manageiq,yaacov/manageiq,billfitzgerald0120/manageiq,hstastna/manageiq,syncrou/manageiq,d-m-u/manageiq,chessbyte/manageiq,syncrou/manageiq,jameswnl/manageiq,jvlcek/manageiq,mzazrivec/manageiq,aufi/manageiq,kbrock/manageiq,andyvesel/manageiq,agrare/manageiq,ManageIQ/manageiq,mzazrivec/manageiq,aufi/manageiq,skateman/manageiq,gmcculloug/manageiq,yaacov/manageiq,branic/manageiq,agrare/manageiq,aufi/manageiq,juliancheal/manageiq,juliancheal/manageiq,d-m-u/manageiq,billfitzgerald0120/manageiq,mkanoor/manageiq,pkomanek/manageiq,agrare/manageiq,chessbyte/manageiq,jvlcek/manageiq,borod108/manageiq,lpichler/manageiq,jrafanie/manageiq,mzazrivec/manageiq,borod108/manageiq,mkanoor/manageiq,tinaafitz/manageiq,djberg96/manageiq,NickLaMuro/manageiq,andyvesel/manageiq,hstastna/manageiq,kbrock/manageiq,gmcculloug/manageiq,andyvesel/manageiq,tinaafitz/manageiq,djberg96/manageiq,djberg96/manageiq,gmcculloug/manageiq,hstastna/manageiq,djberg96/manageiq,juliancheal/manageiq,jameswnl/manageiq,d-m-u/manageiq,NickLaMuro/manageiq,tinaafitz/manageiq,jameswnl/manageiq,ManageIQ/manageiq,billfitzgerald0120/manageiq,jvlcek/manageiq,kbrock/manageiq,branic/manageiq,borod108/manageiq,NickLaMuro/manageiq,jrafanie/manageiq,branic/manageiq,lpichler/manageiq,agrare/manageiq,kbrock/manageiq,ManageIQ/manageiq,pkomanek/manageiq,gmcculloug/manageiq,aufi/manageiq,romanblanco/manageiq,lpichler/manageiq,mkanoor/manageiq,jameswnl/manageiq,chessbyte/manageiq,branic/manageiq,borod108/manageiq,romanblanco/manageiq,skateman/manageiq,ManageIQ/manageiq,romanblanco/manageiq,mzazrivec/manageiq,juliancheal/manageiq,andyvesel/manageiq,skateman/manageiq,NickLaMuro/manageiq,d-m-u/manageiq,yaacov/manageiq,lpichler/manageiq,billfitzgerald0120/manageiq,chessbyte/manageiq,syncrou/manageiq