Potential fix for null collections.