Fixed the order of previous visit display on tb visit