Fixed : Checks if $yt->duration node exists before using it. Closes #52