Fixed bug with template item which caused wrong delay.