Recursion protection added, detect index out of bounds in trackFromCall