Fixed handling of lists by MaxPeers.