Fix broken poll interval conversion.