Fix tautological compares
Use NSMutableArray instead of a VLA