corrected problem of deleting the trail whenever no moving/no publishing position