Fixed a small bug the hardware objects always return false when regarded
as a bool, so all() will always return false.