Fix bug when 0 minutes till next timed lookup is reached