Fix bug preventing use of data tools inside of conditionals via API.