Update tracker.php

Prevent undefined offset errors