The exact same thing happened to me - I got 40 as my exam mark for history extension, and 38 as my assessment mark even though I was ranked first. I was ranked equal first though, so I decided it must mean the other guy got 36 (yeah, we all did really bad). It seems kind of strange though