Fixed few cases where division of int behavior is different in Py2 and Py3