ITS#7580 Fix autogroup when no attrs in URI.

Do not use lvals[], lnvals[] out of scope.