Make firstObject safely return nil for empty arrays