Hi Sourabh,
Did you associate the condition to the “Condition” field in the template overview section? Unless you associate the condition to the template overview, its would not have any effect on visibility. Its just defining the condition.
Regards,
Vijay