Fixed the selector for the  visit details section