Add special case for an empty partition list