Fix for Issue #2199

Previous ticks was not being reset.