Fixed list handling code for timer.