Make sure we don't hit a divide by zero