[DEV] Fix Python2 compatibility for previous commit (implicit int/float conversions)