Incorrect filter used for timetrack records within ticket object.

The timetrack records are not correctly returned in the ticket object.
Probably a copy-paste error has occurred in this peace of code.

After the change I made, the records are correctly filtered.