NSArray firstObject fix/tweak

Makes NSArray -firstObject return nil if count == 0 to prevent crashes with -find when nothing found