Fix NEW_TRACES table operations