Yet another divide by zero fix