Guard against a null list