Check for null collections.