Thank you, I've found a solution with the information provided.
Code:
GetQuestsCompleted(quests1) --before killing rare
GetQuestsCompleted(quests2) --then I call this after killing the rare
table.foreach(quests2,function(k,v)
if not quests1[k] then
print(k .. " is new")
end
end)