TSAGE: Change the type of two variables to boolean