Fixed a comparison bug (wasn't checking if the value was NSOrderedSame)