Minor fix to preemptively prevent integer division