CC-2562 cannot read property length of undefined
CC-2562 cannot read property length of undefined

Handle allItems undefined code path and tighten method logic

control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced