small fix to check if no more tracks are found