fixed the sql query, will have to be checked

__init : I corrected that in master but not there

local tracking : checks wether there's already that object in the db or not. Everything after that depends on the if, is that okay ? should I update the object in the sql db ? should I update charon ?

loggers : small typo we talked about. 
This is a good question. Generally this should not happen, so there must be some case that I'm not covering in the logic here. I'll think about it.