Debug new checkIfTracked function.