Vinay, Sush | fixed the logic for picking up the visit