Fixed output error issue if there are 2 or more boolean or strftime tag in 1 line