I’ve had this happen a couple of times in the past year or so. You need to write into Aeroplan with the details of the error and ask for an adjustment. Takes a few weeks, but they’ll eventually get it right.
ETA — There’s some discussion about this problem here:
https://www.flyertalk.com/forum/30887346-post525.html