Fixed timer invalidation bug.