Fix python3 compat

dict_keys in python3 must be cast to list to get 'added'