No. Maybe your problem is simply a misconception of bars and ticks? What you see in the log are the bars. What you see in a history file are the ticks. Bars start and end at time boundaries, like any full minute. Ticks do not. They are unrelated to time boundaries. They get their timestamps from the price source or out of the history file. Your script can set up the time of bars, but not of ticks. Any bar contains exactly the ticks whose timestamps fall into the bar period. Maybe that has confused you.

In the manual you can find a more detailed intro to bars and ticks and their role in a trading system.