Iterate through copy of dictionary when deleting None values