Seniors and students

I think we may actually be OK on this. I was counting DPSP and DCPP contributions (company matches) but it sounds like that just would lower my 2023 deduction limit then. Because of that, I am now well within range. Is that correct?