(Hot-) fix negative indices on TickTask.getLag.
Make TickTask.getLag more precise.