Fix tpt.element(<something not a string or number>) returning 1