[].max is nil and we need 0
[].max is nil and we need 0

this can happen when method ConsumptionWithRollups#sub_metric_rollups
returns empty array when there are no related VimPerformanceState
records

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