Py3 fix: reversed must take a sequence