Theory:Doctor Who comic strip discontinuity and plot holes/Invasion of the Quarks

When does this take place? The fact that the Doctor acts as if he hasn't seen Jamie in a while and is even surprised to be re-united with him suggests a "Season 6B" setting, so after The War Games. However, this leads directly into an arc about him becoming "known on the Earth", which is directly referenced in that story. Also, World Game, the story that popularised the "Season 6B" idea, suggested the Time Lords actively chose to re-unite the Doctor and Jamie, on the Doctor's request, but the Doctor is surprised here. That said, he could be simply surprised his request was actually granted. Adding to the confusion is that the Doctor doesn't seem to be actively working for the Time Lords here, and in The Night Walkers, his regeneration story, he claims to have "escaped" from them. Plus, Jamie also appears to remember travelling with Doctor. And there's no opportunity for the Doctor to have dropped Jamie off during an unseen adventure because there's no story that ends with the Doctor with Jamie and no second companion that doesn't lead directly into the next one. So, I repeat my question, when in the Second Doctor's timeline actually is this?