glpi: Fix bad usage of and/or in software by machine count