fixed bug where visit was not being passed in when check-in during active