Interpret zero interval as infinite

Signed-off-by: Paul Brook <paul@nowt.org>