Fix tpt.element(<something not a string or number>) returning 1
sconscript change from doxin
revert doxin change