Correct if/endif for tweet list