I did the same thing for Freddy as I did for Riley. When Freddy went on LTIR, I increased the cap limit by $5m (Freddy's cap hit). When I put Riley on LTIR, I increased the cap limit by $2.75m (Riley's cap hit).
I was leaving out pro rata for simplicity, but it doesn't change much. Riley's AAV is $2.75m at the start of the season, and it's still $2.75m at the trade deadline. The real inaccuracy is not in what the players' cap hit is, it's that both the Leafs Cap expenditure and Cap limit were actually more than $81.5m today. But rest assured that the cap expenditure was very close to the cap limit, so everything is still effectively the same.