[Fix] Missing local Db in get_object_for_this_type_using
Fix in set_last_check
Fix in selecting Local database