Replace incorrect NSLog with NSAssert