Fix for track function when no data are being tracked