Mihir|#2201|Fixed bug for overlaping visits