building manager inventoryCount being returned as number instead of array of models. equipement list correctly displaying number of each machine type.