Fix dumb NSError comparison issues