Added safeguard against blank list name