Because the temp table exists for the duration of the transaction,
we need to clear it on each invocation lest it be populated with the
results of multiple invocation queries