Fixed unique constraint in 'Visit_template'.