Correctly iterate through timetracks by using correct test

Correctly handle instances of timetrack type nodes by testing the correct object