changed edit visit: min date to yesterday