|#1068|+Balvinder| Fixing nasty bug, now including end date into the period and modifying testseed data also for the same. modifying  logic on client side to incorporate changes