fix KAR to take enddate or if null do to current