changes for ticket Jira2675 has broken testcase for tag loop (loopung from->to dates)