Fix the ConfigCollection::isEmpty() method