Fix the tracking function for the shrine to support HV 0.76