Fix poll divide by zero exception.