checkOut Updated

to deal with null inDate for borrowings